package com.jshan.blog.base.admin.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

/**
 * 用户菜单对应表
 * @TableName sys_user_menu
 */
@TableName(value ="sys_role_menu")
@Data
public class SysRoleMenu implements Serializable {
    /**
     * 用户 id
     */
    @TableId("role_id")
    private Integer roleId;

    /**
     * 菜单 id
     */
    private String menuId;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
